home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Club 1
/
Club Software (Micro Star) (1996).iso
/
fview.doc
< prev
next >
Wrap
Text File
|
1993-09-28
|
6KB
|
151 lines
FView Version 2.2
-------------------
Copyright 1991, 1993
COPYRIGHT NOTICE
This program is public domain and may be freely distributed, providing it is
distributed in the original archive form (or variation thereof, such as a
different archival program) and no charge is made for its redistribution,
except where charges are made for copying services and/or diskettes. The author
holds exclusive rights to the program. No warranty is made, neither expressed
or implied, as to the suitability of the program for a particular purpose. The
author shall not be liable for damages caused by the use, misuse, or abuse of
this program. The program may not be reverse engineered, nor modified.
DESCRIPTION
-----------
FView is a simple, text file viewer program. Since I didn't have one, nor was
able to quite find the one I liked, I built my own. (Like they say, if you
want something done right you gotta do it yourself.)
USAGE
-----
Starting the program is simple. From any DOS prompt, type:
FVIEW {-ns} filename
This will scan through the specified file, then display it on screen. Much
like DOS's edlin, the filename MUST be specified.
The "-ns" is an option. If specified, no scroll bars will be displayed and
the mouse will not be enabled. Use this if the text file to be viewed
contains lines of 80 characters and you wish to be able to view the entire
line without having to scroll left and right.
NAVIGATING THROUGH THE FILE
---------------------------
New in version 2.2 is the addition of horizontal and vertical scroll bars,
which show your relative position within the file. If you have a mouse, you
can use the scroll bars to navigate through the file.
While viewing the document, you can scroll up/down/left/right/etc... using
the cursor keys, page up/down keys, home and end keys (HOME takes you to the
beginning of the file, END takes you to the bottom). As you move around, the
current line and column will be display in the status bar.
Note that although the left and right cursor keys scroll a full screen rather
than one character at a time (as the scrolling would be noticably slow), you
can use the box in the horizontal scroll bar to move more precisely. Simply
click on the box and drag it left or right. Release it where you want it. This
goes for the vertical scroll bar as well, so you can select where in the file
you want to view.
Line 32 of 591 ( 1- 79) C:\TEXT.DAT
----- ----- ------- filename displayed here ^^^^^^^^^
| | |
| | +---------------- range of columns on screen
| |
| +----------------------- total number of lines in file
|
+--------------------------------- current line# of first line at the
top of the screen.
To search through a file, hit 'F', or click on 'F' or 'FIND' in the help line.
This will bring up a box to type the text in that you wish to search for. When
you hit ENTER, it will begin searching through the file, starting with the
current line as indicated in the status bar at the top. To quit from the input
box, hit ESC. Note that you cannot abort a search in progress.
While in the input box, standard editing keys are in effect, ie. left/right
cursor keys, home/end, insert, etc. Use CTRL-HOME to erase the input and start
over at the first position (CTRL-X also erases). When you first enter the box,
the last text string (if any) you entered will be displayed. You can edit this
string or start with a new one. If you begin typing characters immediately,
before you move the cursor, the previous text string will be erased first.
To continue a search, hit 'N', or click on 'N' or 'NEXT' in the help line. This
will continue the search from where the last text was found (even if you've
scrolled it off the screen). If you hit 'N' before you've selected text with
'F', then a box will be displayed for you to enter the text.
Similarly, hit 'P' or click on 'P' or 'PREV' in the help line to search
backwards from the last found text. The program will beep if you have hit 'P'
before entering text with 'F'.
In all 3 cases, if the text string is not found, it will beep and display
"Search string not found". (It doesn't loop back around from the end of the
file to the beginning, or vice-versa).
To leave the program, hit the ESCape key, or click on "ESC QUIT" in the help
line. You will NOT be asked for confirmation.
-------------------------
Revision History
-------------------------
Date Version Changes
February 1993 2.0 Added Search feature.
Speeded up display when first scanning the file
by only displaying the percentage in 5% increments.
Changed method of programming by using a third
party 'C' Window Library (freely distributable).
June 1993 2.1 Fixed problems with not displaying last line of a
file.
September 1993 2.11 Doubled maximum # of lines from 10,000 to 20,000.
September 1993 2.2 Added scroll bars and mouse support.
-------------------------
---------------------
Contacting the author
---------------------
I can reached via:
CompuServe: 70620,1445
Internet: Chris_Gordon@MAGIC-BBS.corp.apple.com
or 70620.1445@CompuServe.com
Chris Gordon
----------------
Acknowledgements
----------------
P. A. McKenzie for the 'C' Window Library (Copyright 1990, 1991)